package me.wangcai.trafficpoliceai.enums;


import lombok.Getter;

@Getter
public enum ViolationEnum{
    RUN_RED_LIGHT(0,"闯红灯"),
    CRIMP(1,"压线"),
    RETROGRADE(2,"逆行"),
    SPEEDING(3,"超速");


    private String name;
    private int id;

    ViolationEnum(int id,String name) {
        this.id = id;
        this.name = name;
    }

}
